﻿using EM.OA.DataModel.DBModel;
using EM.OA.WebCommon.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Web;
namespace EM.OA.Portal.Models
{
	public class SystemPageModels : BaseViewModel
	{
      		/// <summary>
		/// 页面ID
        	/// </summary>		
		[Display(Name = "页面ID")]
        	public Guid PageID { get; set; }        
			/// <summary>
		/// 页面名称
        	/// </summary>		
		[Display(Name = "页面名称")]
        	public string PageName { get; set; }        
			/// <summary>
		/// 页面路径
        	/// </summary>		
		[Display(Name = "页面路径")]
        	public string PageUrl { get; set; }        
			/// <summary>
		/// 页面描述
        	/// </summary>		
		[Display(Name = "页面描述")]
        	public string PageDescription { get; set; }        
			/// <summary>
		/// 是否有效
        	/// </summary>		
		[Display(Name = "是否有效")]
        	public bool IsVisible { get; set; }
        public string Visible
        {
            get { return IsVisible == true ? "有效" : "无效"; }
        }
		   
	}
}